#ifndef CZENSPRITE_H
#define CZENSPRITE_H

#include "ZenObject.h"

class CZenSprite : public CZenObject
{
public:
	CZenSprite();
	~CZenSprite();

	HRESULT Initialize(char * TexPathName);
	HRESULT Initialize(LPDIRECT3DTEXTURE8 pTexture);
	HRESULT Render();
	int GetSize();

	D3DXVECTOR2 m_RotCenter;
	D3DXVECTOR2 m_Translation;
	D3DXVECTOR2 m_Scaling;

	float m_Rotation;

	D3DCOLOR	m_ModulateColor;
	CZenEngine	zen;

protected:
	LPD3DXSPRITE		m_pSprite;
	LPDIRECT3DTEXTURE8	m_pTexture;
	BOOL				m_bInitialized;
};

#endif
